#ifndef MOVEITEM_H
#define MOVEITEM_H

#include <QGraphicsItem>
#include <QtGui/QPixmap>
#include <QtGui/QImage>
#include <QtGui/QPainter>


class MoveItem : public QGraphicsItem
{
public:
	MoveItem(QPixmap image,int width,int height);
	QRectF boundingRect() const;
	void paint(QPainter* painter,const QStyleOptionGraphicsItem* option,
		QWidget* widget);

	~MoveItem();

private:
	QPixmap item;
	int myWidth;
	int myHeight;
	void makePhoto(QPixmap image);
	
};

#endif // MOVEITEM_H
